package com.fierce.cloud.ota.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author: Fierce
 * @Date: 2021/2/6 23:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRole implements Serializable {

    private static final long serialVersionUID = -5398558620383322958L;

    /**
     * Id
     */
    @Id
    private Long id;

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 角色Id
     */
    private Integer roleId;
}
